<?php
namespace Modules\Model;

class TestModel extends \Src\Model
{

	public function __construct()
    {
		parent::__construct();
	}
	
	public function __destruct() {}

    /**用户申请单
     * @param $companyname
     * @param $username
     * @param $phone
     * @param $imgurl
     */
    public function insertApply($companyname, $username, $phone, $imgurl)
    {
        $t = time();
        $this->pdo->insert("insert into admin_apply (companyname, username, phone, imgurl, addtime) values ('{$companyname}','{$username}','{$phone}','{$imgurl}','{$t}')");
    }

}

